<script setup lang="ts">
import { ref } from 'vue';
import { ESelect } from 'exploria-ui';

const items = [
    {
        label: '选项1',
        value: '1',
    },
    {
        label: '选项2',
        value: '2',
    },
    {
        label: '选项3',
        value: '3',
    },
];
const select = ref(items[0]!.value);
</script>

<template>
    <div class="using">
        已选： {{ select }}
        <div>
            <ESelect v-model="select" :items="items" />
        </div>
    </div>
</template>

<style lang="scss" scoped></style>
